package com.example.ai.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ChatMessage {
    private Long id;
    private String sessionId;
    private String role;    // user/assistant
    private String content;
    private Integer tokens;
    private LocalDateTime createTime;
}
